package org.example.dao;

import org.example.pojo.SobUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface UserDao extends JpaRepository<SobUser, String>, JpaSpecificationExecutor<SobUser> {
    SobUser findOneByUserName(String userName);
    SobUser findOneByEmail(String email);
}
